<?php
namespace app\before\validate;

use think\Validate;

class Zhiye extends Validate
{
    protected $rule = [
        'hangye' => 'require',
        'name' => 'require',
    ];
    protected $message = [
        'hangye.require' => '请选择行业',
        
        'name.require' => '职业名称为必填项',
    ];
    protected $scene = [
        'edit' => [
            'hangye',
            'name',
        ],
    ];
}
